<style>
    .u-flex{
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
</style>
<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">订单编号</label>
            <div class="layui-input-block">
                <input type="text" name="order_no" class="layui-input" disabled  placeholder="请输入订单编号" value="{$row.order_no|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">订单金额</label>
            <div class="layui-input-block">
                <input type="text" name="order_money" class="layui-input" disabled placeholder="请输入订单金额" value="{$row.order_money|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">支付金额</label>
            <div class="layui-input-block">
                <input type="text" name="pay_money" class="layui-input" disabled  placeholder="请输入支付金额" value="{$row.pay_money|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">折扣金额</label>
            <div class="layui-input-block">
                <input type="text" name="discount_money" class="layui-input"  placeholder="请输入折扣金额" value="{$row.discount_money|default=''}">
            </div>
        </div>

<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">支付状态</label>-->
<!--            <div class="layui-input-block">-->
<!--                {foreach $getPayStatusList as $k=>$v}-->
<!--                {in name="k" value="$row.pay_status"} {$v} {/in}-->

<!--&lt;!&ndash;                <input type="radio" name="pay_status" value="{$k}" title="{$v}" {in name="k" value="$row.pay_status"}checked=""{/in}>&ndash;&gt;-->
<!--                {/foreach}-->
<!--            </div>-->
<!--        </div>-->

        <div class="layui-form-item">
            <label class="layui-form-label">订单状态 </label>
            <div class="layui-input-block">
                {foreach $statusLabel as $k=>$v}
                <input type="radio" name="status_label" value="{$k}" title="{$v}" {in name="k" value="$row.status_label"}checked=""{/in}>
                {/foreach}

            </div>
        </div>

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">下单人备注信息</label>
            <div class="layui-input-block">
                <textarea name="remark" class="layui-textarea"  placeholder="请输入下单人备注信息">{$row.remark|raw|default=''}</textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否可退</label>
            <div class="layui-input-block">
                {foreach $getCanRefundList as $k=>$v}
                <input type="radio" name="can_refund" value="{$k}" title="{$v}" {in name="k" value="$row.can_refund"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">是否需换票</label>
            <div class="layui-input-block">
                {foreach $getNeedCheckList as $k=>$v}
                <input type="radio" name="need_check" value="{$k}" title="{$v}" {in name="k" value="$row.need_check"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><B>商品信息</B></label>
            <div class="layui-input-block">
                <div class="item-line u-flex">
                    <label class="layui-form-label">标题：</label>
                    <div class="u-flex">
                        <p class="">{$row.good.title}，{$row.good.sub_title}</p>
                    </div>
                </div>

            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><B>门票信息</B></label>
            <div class="layui-input-block">
                <div class="item-line u-flex">
                    <label class="layui-form-label">类型：</label>
                    <div class="u-flex">
                        <p class="">{$ticketTypeList[$row.orderTicket.ticket_type]}
                            {if $row.orderTicket.ticket_type==2}
                           ， {$row.orderTicket.ticket_json.use_count|default='1'}次
                            {/if}
                        </p>
                    </div>
                </div>
                <div class="item-line u-flex">
                    <label class="layui-form-label">标题：</label>
                    <div class="u-flex">
                        <p class="">{$row.orderTicket.ticket_title}，{$row.orderTicket.ticket_subtitle}</p>
                    </div>
                </div>
                <div class="item-line u-flex">
                    <label class="layui-form-label">出行日期：</label>
                    <div class="u-flex">
                        <p class="">{$row.orderTicket.select_day}</p>
                    </div>
                </div>
                <div class="item-line u-flex">
                    <label class="layui-form-label">数量：</label>
                    <div class="u-flex">
                        <p class="">{$row.orderTicket.buy_num}张</p>
                    </div>
                </div>
                <div class="item-line u-flex">
                    <label class="layui-form-label">单价：</label>
                    <div class="u-flex">
                        <p class="">¥{$row.orderTicket.price}元</p>
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><b>出行人信息</b></label>
            <div class="layui-input-block">
                {foreach $row.orderTicket.people_json as $k=> $v}
                <div class="item-line u-flex">
                    <label class="layui-form-label"> 序号{$k+1}： </label>
                    <div class="u-flex">
                        <p class="">ID={$v.id}， {$v.first_name}{$v.name} ，{$v.mobile}</p>
                    </div>
                </div>
                {/foreach}
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">排序</label>
            <div class="layui-input-block">
                <input type="text" name="sort" class="layui-input"  placeholder="请输入排序" value="{$row.sort|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                {foreach $getStatusList as $k=>$v}
                <input type="radio" name="status" value="{$k}" title="{$v}" {in name="k" value="$row.status"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>